export default {
    namespaced: true,
    state: {
        // 选择项目id
        projectId: 0,
        projectName: '',

        //分组列表
        groupList: [],

        //接口信息
        apiInfoForm: {},

        //业务用例信息
        caseInfoForm: {},

    },
    mutations: {
        updateProjectId (state, projectId) {
            state.projectId = projectId
        },

        updateProjectName (state, projectName) {
            state.projectName = projectName
        },

        updateGroupList (state, groupList) {
            state.groupList = groupList
        },

        updateApiInfoForm (state, apiInfoForm) {
            state.apiInfoForm = apiInfoForm
        },

        updateCaseInfoForm (state, caseInfoForm) {
            state.caseInfoForm = caseInfoForm
        },


    }
}
